<?php
/**
 * Created by PhpStorm.
 * User: Mysic
 * Date: 2020/11/1
 * Time: 21:34
 */
namespace app\mocks\extend;

class MockRabbitmqMsg
{
    protected $msg;

    public function __construct()
    {
    }

    public function setBody($msg)
    {
        $this->msg = $msg;
    }

    public function getBody()
    {
        return $this->msg;
    }
}